package com.mytrip.webapp.exception;

import java.util.ArrayList;
import java.util.List;

public class ActionExceptionWraper {

	private List<String> actionErrors = new ArrayList<String>(0);

	public List<String> getActionErrors() {
		return actionErrors;
	}

	public void setActionErrors(List<String> actionErrors) {
		this.actionErrors = actionErrors;
	}
	
	public void addActionError(String textName){
		actionErrors.add(textName);
	}
}
